#define _CRT_SECURE_NO_WARNINGS 1 
#include"SeqList.h"

void test() {
	SL s;
	SeqListInit(&s);
	SeqListPushBack(&s, 1);
	SeqListPushBack(&s, 2);
	SeqListPushFront(&s, 3);
	SeqListPrint(&s);
	SeqListPushInsert(&s, 4, 2);
	SeqListPrint(&s);
	SeqListPushErase(&s, 2);
	SeqListPrint(&s);
	int ret = SeqListFind(&s, 2);
	printf("%d\n", ret);
	SeqListModify(&s, 5, 1);
	SeqListPrint(&s);
	SeqListDestory(&s);
}
int main() {
	test();
	return 0;
}
